package auxiliares;

import java.util.Hashtable;

public class Global {
	public static final String SILVER_RIVER_PATH = "silverRiverPath";
	
	private static Global instance;
	Hashtable<String, Object> properties;
	
	private Global () {
		properties = new Hashtable<String, Object>();
	}
	
	public static Global getInstance() {
		if (instance == null) {
			instance = new Global();
		}
		return instance;
	}
	
	public void setProperty(String _name, Object _value) {
		properties.put(_name, _value);
	}
	
	public Object getProperty(String _name) {
		return properties.get(_name);
	}
}
